Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Utility Functions /


JMURLToFSS

Converts a Uniform Resource Locator (URL) into a Mac OS file system specification record (FSSpec).

OSStatus JMURLToFSS (JMSessionRef session, 
                     const JMTextRef urlString, 
                     FSSpec* spec);
session
The current session.
urlString
The URL string to be converted, as a text object.
spec
A pointer to a file system specification record. Upon return, spec points to the converted URL.
function result
A result code; see "JManager Result Codes".
DISCUSSION
The URL string must follow the format file:///disk/dir1/.../dirN/file. Other formats cause the function to return the result code paramErr.

SEE ALSO
The JMFSSToURL function.

"Executing Java Applications".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997